package com.chinadci.smartcommunitysystembackstage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * 访客信息
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName("scs_visitor")
@ApiModel(value="ScsVisitor对象", description="")
public class ScsVisitor implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "访客编号")
    @TableId(value = "v_id", type = IdType.AUTO)
    private Integer vId;

    @ApiModelProperty(value = "访客姓名")
    private String vName;

    @ApiModelProperty(value = "访客关系")
    private Integer vtId;

    @TableField(exist = false)
    private String name;
    @TableField(exist = false)
    private String gx;
    @TableField(exist = false)
    private List<ScsVisitorType> type;

    @TableField(exist = false)
    private List<ScsUser> user;

    @ApiModelProperty(value = "住户id")
    private Integer uId;

    @ApiModelProperty(value = "进入时间")
    private String vTime;


}
